#lines, #paper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#paper {
    display: flex;
    flex-flow: column;
}


#canvasBox {
    flex: 2 2;
}
#lines {
    z-index: 1;
    pointer-events: none;
}

#lines > * {
    position: absolute;
    width: 1px;
    height: 1px;
    background-color: #999;
    opacity: 0;
}

#lines > .show {
    opacity: .5;
}

#lines .vert {
    transform: translateX(-50%);
    height: 100%;
}

#lines .hori {
    transform: translateY(-50%);
    width: 100%;
}

.block {
    position: absolute;
}

.block input {
    position: absolute;
    top: 0;
    right: 0;
}
